// src\store\index.js
// 专门用于暴露store对象


import {applyMiddleware, combineReducers, createStore} from 'redux'
// 导入bill
import billReducer from './modules/billStore'
import thunk from 'redux-thunk';

// 合并暴露
// key:value格式
const allReduer=combineReducers({
    billList:billReducer
})
// 暴露store
const store=createStore(allReduer,applyMiddleware(thunk));
export default store;